
// 默认会在 app-starter-call-feign --->  com._101aiot.call.feign.fallback.AppFeignFallback 统一处理熔断异常消息返回，如果需要编写降级业务，自己实现即可
//package com._101aiot.test.feign.feign.hystric;
//
//import com._101aiot.common.resultutil.CommonResult;
//import com._101aiot.test.feign.feign.ProvideService;
//import feign.hystrix.FallbackFactory;
//import org.springframework.stereotype.Service;
//
//import java.util.Map;
//
//@Service
//public class ProvideServiceHystrice implements FallbackFactory<ProvideService> {
//
//
//    @Override
//    public ProvideService create(Throwable throwable) {
//        return new ProvideService(){
//
//            @Override
//            public CommonResult<Map<String, String>> getInfo() {
//                return CommonResult.failed("服务调用不通了");
//            }
//        };
//    }
//}
